const commontStyle = {
    textAlign: 'left',
    fontWeight:'',
    fontStyle:'',
    fontSize:"",
    textDecoration:"",
    letterSpacing:'',
    transform:'',
    color:'',
    opacity:1,
    writingMode:"horizontal-tb",
    fontWeight:''
}
export const commponentsData = [
    {
        //组件名称
        component: "Dtext",
        label: '文字',
        children: [
            { text: "点击添加标题文字", style: { fontSize: '22px', fontWeight: 'bolder', color: '#000' } },
            { text: "点击添加副标题", style: { fontSize: '18px', fontWeight: 'bold', color: '#666' } },
            { text: "点击添加正文文字", style: { fontSize: '14px', color: '#999' } }
        ],
        imgalls: [
            "/src/assets/workbench/tu1.webp",
            "https://pub-cdn-oss.chuangkit.com/materials/2024/04/16/4155a84d-4c3e-4fae-8798-86d6fa9debf8_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2024/04/18/e05b95b8-70ad-4f43-ae9c-f957017e6e21_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp"
        ],
        imgalls2: [
            "https://pub-cdn-oss.chuangkit.com/materials/2024/06/12/f7b7ab31-f837-4adf-bfe2-d0ce1f094205_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2024/06/12/fe2f3fd7-4838-460c-bb25-08d43cf6c34b_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2024/06/12/4b90fda7-8ee3-406e-8018-7cb41c16dcfc_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp"
        ],
        imgalls3: [
            "https://pub-cdn-oss.chuangkit.com/materials/2023/04/14/7632157c-85c0-4266-8f64-c543919a2191_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2023/11/27/51c60d55-f42b-46f8-9bf2-1fb4a018af9f_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2023/11/27/b57bda59-72a5-4231-ae5a-296782a03f85_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp"
        ],
        imgalls4: [
            "https://pub-cdn-oss.chuangkit.com/materials/2023/08/22/7910c8df-879a-4fca-88fc-be3139de786c_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2023/08/22/084087f6-d9db-4c41-a606-78cab1eb9c99_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp",
            "https://pub-cdn-oss.chuangkit.com/materials/2023/08/22/c342d584-d342-4398-b8b3-59b502b8116f_thumb?imageMogr2%2Fthumbnail%2F200x%3E%2Fformat%2Fwebp"
        ],
        // 显示默认的数据内容
        propLable: '点击添加标题文字',
        //样式
        style: {
            position: 'absolute',
            top: 0,
            left: 0,
            width: 180,
            height: 32,
            color: '#000',
            fontSize: '12px',
            ...commontStyle,
            animate: []
        },
        //事件
        events: []
    },
    {
        component: "Dimg",
        lable: "图片",
        propLable: "/src/assets/register.png",
        style: {
            position: 'absolute',
            top: 0,
            left: 0,
            width: 250,
            height:"auto",
            rotate: 0,
            ...commontStyle,
            animate: []
        },
        events: []
    },
]